package com.yeping.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yeping.domain.ResponseResult;
import com.yeping.domain.entity.Comment;

import java.util.List;

/**
 * 评论表(Comment)表服务接口
 *
 * @author makejava
 * @since 2024-01-29 10:38:03
 */
public interface CommentService extends IService<Comment> {
    ResponseResult commonList(String comentType, Long articleId, Integer pageNum, Integer pageSize, String content);

    ResponseResult addComment(Comment comment);

    ResponseResult commonList2(String articleComent, Long articleId);

    ResponseResult comLike(Comment comment);

    ResponseResult updateComment(Comment comment);

    ResponseResult deleteComment(Long id);

    ResponseResult delBatchComment(List<Long> ids);
}
